package com.aspose.cells.a.d.a.b;

import java.io.IOException;

public class zaa extends com.aspose.cells.a.d.a.zg {
   private zs[] b;
   private int c;
   private int d;

   public zaa() {
      this((zs[])null, 0, -1);
   }

   public zaa(zs[] var1, int var2) {
      this(var1, var2, -1);
   }

   public zaa(zs[] var1, int var2, int var3) {
      super(70, 1);
      this.b = var1;
      this.c = var2;
      this.d = var3;
   }

   public void a(int var1) {
      this.c = var1;
      this.d = -1;
   }

   public void a(int var1, int var2) {
      this.c = var1;
      this.d = var2;
   }

   public void a(int var1, com.aspose.cells.a.d.a.zb var2) throws IOException {
      if (this.c > 0) {
         int var3;
         if (this.d < 0) {
            this.d = 0;

            for(var3 = 0; var3 < this.c; ++var3) {
               this.d += this.b[var3].c();
            }
         }

         if (this.d > 0) {
            var2.b(this.d + 4);
            var2.b(726027589);

            for(var3 = 0; var3 < this.c; ++var3) {
               this.b[var3].a(var2);
            }
         }
      }

   }
}
